package com.fsu.database.dao;

/**
 * read-only structure for book publisher information
 * @author Bonazza
 *
 */
public class Publisher {
	
	/**
	 * The publisher's URL
	 */
	private String url;
	
	/**
	 * The publisher's name
	 */
	private String name;
	
	/**
	 * The publisher's address
	 */
	private String address;
	
	/**
	 * The publisher's phone number
	 */
	private String phone;
	
	/**
	 * Ctor
	 * @param url
	 * @param name
	 * @param address
	 * @param phone
	 */
	public Publisher(String url, String name, String address, String phone) {
		this.url = url;
		this.name = name;
		this.address = address;
		this.phone = phone;
	}
	
	/** Accessor methods */
	public String getUrl() { return url; }
	public String getName() { return name; }
	public String getAddress() { return address; }
	public String getPhone() { return phone; }
	
	
	public String toString() {
		return "url: " + url + "\nname: " + name + "\naddress: " + address + "\nphone: " + phone;
	}

}
